package edu.xhu.api.video.fallback;

import edu.xhu.api.video.VideoClient;
import edu.xhu.model.common.dtos.ResponseResult;
import edu.xhu.model.common.enums.AppHttpCodeEnum;
import org.springframework.stereotype.Component;

@Component
public class VideoClientFallback implements VideoClient {


    @Override
    public ResponseResult<?> videosListApi() {
        return ResponseResult.errorResult(AppHttpCodeEnum.DATA_NOT_EXIST, "获取视频失败");
    }
}
